home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update14.zoo / pml / diffs
Encoding:
Text File  |  1992-01-15  |  3.7 KB  |  164 lines

  1. *** 1.8    1991/07/23 22:44:46
  2. --- Changelog    1992/01/14 19:39:01
  3. ***************
  4. *** 90,92 ****
  5. --- 90,107 ----
  6.   math.h:: ++jrb
  7.       add proto for hypot
  8.   ---------------------------- Patchlevel 12 ------------------------------
  9. + math.h:: ++jrb
  10. +     make the exception structure more "unix like". use the same values
  11. + for exception types (this only helps portability).
  12. + atan2.c:: ++jrb
  13. +     use the second arg in the exception struct now that we have it.
  14. + sign.c:: ++jrb
  15. +     was copy the wrong sign when second arg was 0. reported by michael ritzert.
  16. + dabs.c:: ++jrb
  17. +     make the asm code conditional on (m68k && GNUC), not just GNUC
  18. + ---------------------------- Patchlevel 13 ------------------------------
  19. *** 1.5    1991/07/23 22:44:46
  20. --- Makefile.tos    1992/01/14 19:39:01
  21. ***************
  22. *** 26,32 ****
  23.   
  24.   install : $(ALL)
  25.       cp pml16.olb pml.olb $(CROSSLIB)
  26. !     cp pmluser.h $(CROSSINC)
  27.   
  28.   install020 : pml16020.olb pml020.olb
  29.       cp pml16020.olb pml020.olb $(CROSSLIB)
  30. --- 26,32 ----
  31.   
  32.   install : $(ALL)
  33.       cp pml16.olb pml.olb $(CROSSLIB)
  34. !     cp math.h $(CROSSINC)
  35.   
  36.   install020 : pml16020.olb pml020.olb
  37.       cp pml16020.olb pml020.olb $(CROSSLIB)
  38. *** 1.9    1991/07/23 22:44:46
  39. --- PatchLevel.h    1992/01/14 19:39:02
  40. ***************
  41. *** 1,5 ****
  42.   /*
  43. !  *    PatchLevel: 12
  44.    *
  45.    *    the Patch Level above is to identify the version
  46.    *    of the all the files in this directory. given the above
  47. --- 1,5 ----
  48.   /*
  49. !  *    PatchLevel: 13
  50.    *
  51.    *    the Patch Level above is to identify the version
  52.    *    of the all the files in this directory. given the above
  53. *** 1.5    1991/05/23 15:23:34
  54. --- atan2.c    1992/01/14 19:39:03
  55. ***************
  56. *** 108,113 ****
  57. --- 108,114 ----
  58.           xcpt.type = DOMAIN;
  59.           xcpt.name = funcname;
  60.           xcpt.arg1 = x;
  61. +         xcpt.arg2 = y;
  62.           xcpt.retval = result;
  63.           if (!matherr(&xcpt)) {
  64.           fprintf (stderr, "%s: DOMAIN error\n", funcname);
  65. *** 1.4    1991/05/23 15:23:34
  66. --- dabs.c    1992/01/14 19:39:06
  67. ***************
  68. *** 68,74 ****
  69.   static char funcname[] = "dabs";
  70.   
  71.   
  72. ! #ifdef __GNUC__
  73.   asm(".text; .even; .globl _fabs; _fabs:"); /* dept of dirty tricks */
  74.   #endif
  75.   
  76. --- 68,74 ----
  77.   static char funcname[] = "dabs";
  78.   
  79.   
  80. ! #if defined(m68k) && defined(__GNUC__)
  81.   asm(".text; .even; .globl _fabs; _fabs:"); /* dept of dirty tricks */
  82.   #endif
  83.   
  84. ***************
  85. *** 92,98 ****
  86.   }
  87.   
  88.   
  89. ! #ifndef __GNUC__
  90.   double fabs (x)
  91.   double x;
  92.   {
  93. --- 92,98 ----
  94.   }
  95.   
  96.   
  97. ! #if !(defined(m68k) && defined(__GNUC__))
  98.   double fabs (x)
  99.   double x;
  100.   {
  101. *** 1.10    1991/07/23 22:44:46
  102. --- math.h    1992/01/14 19:39:07
  103. ***************
  104. *** 55,66 ****
  105.   } COMPLEX;
  106.   
  107.   /* exceptions ++jrb */
  108. ! typedef enum  { DOMAIN, OVERFLOW, UNDERFLOW, PLOSS, SING } exception_type;
  109.   
  110.   struct exception {
  111.       exception_type    type;    /* exception type */
  112.       char        *name;    /* function in which it occured */
  113.       double        arg1;    /* an arg */
  114.       double        retval; /* val to return */
  115.   };
  116.   
  117. --- 55,74 ----
  118.   } COMPLEX;
  119.   
  120.   /* exceptions ++jrb */
  121. ! typedef enum  {
  122. !     DOMAIN      = 1,
  123. !     SING        = 2,
  124. !     OVERFLOW    = 3,
  125. !     UNDERFLOW   = 4,
  126. !     TLOSS       = 5,
  127. !     PLOSS       = 6
  128. ! } exception_type;
  129.   
  130.   struct exception {
  131.       exception_type    type;    /* exception type */
  132.       char        *name;    /* function in which it occured */
  133.       double        arg1;    /* an arg */
  134. +     double        arg2;    /* another arg */
  135.       double        retval; /* val to return */
  136.   };
  137.   
  138. *** 1.5    1991/05/23 15:23:34
  139. --- sign.c    1992/01/14 19:39:08
  140. ***************
  141. *** 60,67 ****
  142.       
  143.       ENTER ("copysign");
  144.       DEBUG4 ("copysignin", "args %le %le", x, y);
  145. !     if (x > 0.0) {
  146. !     if (y > 0.0) {
  147.           rtnval = x;
  148.       } else {
  149.           rtnval = -x;
  150. --- 60,67 ----
  151.       
  152.       ENTER ("copysign");
  153.       DEBUG4 ("copysignin", "args %le %le", x, y);
  154. !     if (x >= 0.0) {
  155. !     if (y >= 0.0) {
  156.           rtnval = x;
  157.       } else {
  158.           rtnval = -x;
  159.